<template>
  <div class="side-view-content">
    <div class="title">
      <img :src="logo"/>
      <span>QQ音乐</span>
    </div>
    <div class="side-view-menu">
        <span class="menu-title">在线音乐</span>
        <ul class="menu-list">
          <li class="menu">音乐馆</li>
          <li class="menu">视频</li>
        </ul>
    </div>
  </div>
</template>
  
  <script>
import logo from "../assets/imgs/favicon.png";
export default {
  data() {
    return {
      logo: logo,
    };
  },
};
</script>
  
  <style lang="less" scoped>
.side-view-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  .title {
    flex: 0 0 90px;
    color: white;
    line-height: 90px;
    display: flex;
    align-items: center;
    margin-left: 20px;
    img {
      width: 30px;
      height: 30px;
      margin-right: 10px;
    }
    span {
      font-size: 18px;
      font-weight: bold;
    }
  }
  .side-view-menu {
    flex: 1;
    .menu-title {
        height: 30px;
        line-height: 30px;
        font-size: 16px;
        color: #8b8b8b;
        margin-left: 20px;
    }
    .menu-list {
        display: block;
        .menu {
            cursor: pointer;
            color:#d1d1d1;
            font-size: 20px;
            margin-top: 10px;
            padding: 10px 0;
            padding-left: 20px;
            &:hover {
                background:rgba(0,0,0,0.8);
            }
        }
    }
  }
}
</style>